package com.spread.dao;

import com.spread.beans.Product;
import java.util.List;

public interface ProductDAO {
    int deleteByPrimaryKey(Integer productId);

    int insert(Product record);

    Product selectByPrimaryKey(Integer productId);

    List<Product> selectAll();

    int updateByPrimaryKey(Product record);
}